package entity;

import java.util.List;

/**
 * Created by Administrator on 2017/2/24.
 */

public class bean {

    /**
     * error : false
     * results : [{"_id":"58ad9714421aa957ef93531f","createdAt":"2017-02-22T21:50:12.922Z","desc":"基于官方ViewPager，支持水平方向上滑动和竖直方向上的滑动的ViewPager","images":["http://img.gank.io/1ef8c97f-14a8-4a89-946b-46b9aa8bd3b9"],"publishedAt":"2017-02-24T11:47:11.416Z","source":"web","type":"Android","url":"https://github.com/youngkaaa/YViewPagerDemo","used":true,"who":"杨宽同学"},{"_id":"58ae819e421aa93d376f7510","createdAt":"2017-02-23T14:30:54.386Z","desc":"一个简单且可行度高的 Rect Native 热更新方案","images":["http://img.gank.io/1b5eece1-d504-4042-9590-b383fafcb61a"],"publishedAt":"2017-02-24T11:47:11.416Z","source":"web","type":"Android","url":"http://solart.cc/2017/02/22/react-native-jsbundle_patch/","used":true,"who":null},{"_id":"58af904f421aa95810795bb2","createdAt":"2017-02-24T09:45:51.79Z","desc":"封装了最新Lua代码的Android库","publishedAt":"2017-02-24T11:47:11.416Z","source":"web","type":"Android","url":"https://github.com/haodynasty/AndroidLuaExample","used":true,"who":"BlakeQu"},{"_id":"58afa344421aa93d376f751a","createdAt":"2017-02-24T11:06:44.604Z","desc":"Android 文本字数计算小工具，做社交类的 App 可能会有些帮助。","images":["http://img.gank.io/a8cdc81b-fbf1-4b63-819e-9ce9a3acc119","http://img.gank.io/8b643785-06f6-4bb1-a142-e8c4eb2ee074"],"publishedAt":"2017-02-24T11:47:11.416Z","source":"chrome","type":"Android","url":"https://github.com/xbroak/CharCountTextView","used":true,"who":"diamajia"},{"_id":"58a6e902421aa966366d05ef","createdAt":"2017-02-17T20:13:54.599Z","desc":"java 8 lambda表达式详解，有这篇就够了","publishedAt":"2017-02-23T11:50:23.116Z","source":"web","type":"Android","url":"http://blog.csdn.net/xiaochuanding/article/details/55516726","used":true,"who":null},{"_id":"58abf3b8421aa93d376f74f7","createdAt":"2017-02-21T16:00:56.110Z","desc":" Android 内存泄漏详解 ","publishedAt":"2017-02-23T11:50:23.116Z","source":"web","type":"Android","url":"http://blog.csdn.net/xiaochuanding/article/details/56286074","used":true,"who":null},{"_id":"58ad46f2421aa93d376f7507","createdAt":"2017-02-22T16:08:18.462Z","desc":"美丽说热修复框架","publishedAt":"2017-02-23T11:50:23.116Z","source":"chrome","type":"Android","url":"https://github.com/meili/Aceso","used":true,"who":"wuzheng"},{"_id":"58ae4fd5421aa95810795baa","createdAt":"2017-02-23T10:58:29.824Z","desc":"主要写了在Android6.0+版本上，修改EditText、TextView的文本选择菜单内容和为其他APP提供自定义文本操作这两个功能。","images":["http://img.gank.io/df2a0707-b0cf-4eee-8d9c-abaddcd71602"],"publishedAt":"2017-02-23T11:50:23.116Z","source":"web","type":"Android","url":"http://www.jianshu.com/p/89970f098012","used":true,"who":null},{"_id":"58ace75e421aa957ef935316","createdAt":"2017-02-22T09:20:30.844Z","desc":"从Android到React Native开发，帮助你用Android开发来理解React Native","publishedAt":"2017-02-22T11:43:57.286Z","source":"web","type":"Android","url":"http://www.jianshu.com/p/97692b1c451d","used":true,"who":"Shuyu Guo"},{"_id":"58acfb1e421aa95810795b99","createdAt":"2017-02-22T10:44:46.857Z","desc":"Android 切换皮肤方案，轻松实现。","images":["http://img.gank.io/8597e694-d52b-440e-97c7-7faed55fb6cb"],"publishedAt":"2017-02-22T11:43:57.286Z","source":"chrome","type":"Android","url":"https://github.com/ximsfei/Android-skin-support","used":true,"who":"代码家"}]
     */

    private boolean error;
    private List<ResultsBean> results;

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * _id : 58ad9714421aa957ef93531f
         * createdAt : 2017-02-22T21:50:12.922Z
         * desc : 基于官方ViewPager，支持水平方向上滑动和竖直方向上的滑动的ViewPager
         * images : ["http://img.gank.io/1ef8c97f-14a8-4a89-946b-46b9aa8bd3b9"]
         * publishedAt : 2017-02-24T11:47:11.416Z
         * source : web
         * type : Android
         * url : https://github.com/youngkaaa/YViewPagerDemo
         * used : true
         * who : 杨宽同学
         */

        private String _id;
        private String createdAt;
        private String desc;
        private String publishedAt;
        private String source;
        private String type;
        private String url;
        private boolean used;
        private String who;
        private List<String> images;

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(String createdAt) {
            this.createdAt = createdAt;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getPublishedAt() {
            return publishedAt;
        }

        public void setPublishedAt(String publishedAt) {
            this.publishedAt = publishedAt;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public boolean isUsed() {
            return used;
        }

        public void setUsed(boolean used) {
            this.used = used;
        }

        public String getWho() {
            return who;
        }

        public void setWho(String who) {
            this.who = who;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }
}
